package cn.ylz.ylmall.account.service;

import cn.ylz.ylmall.account.pojo.param.AddressAddnewParam;
import cn.ylz.ylmall.account.pojo.vo.UserAddressListVO;

import java.util.List;

public interface AddressService {
    void addNew(AddressAddnewParam param, Long id);

    void delete(Long id);

    void update(Long id, AddressAddnewParam param,Long userId);

    List<UserAddressListVO> addressListByUserId(Long id);

    UserAddressListVO addressByUserId(Long id);
}
